package aaaBlogger;

import java.io.ByteArrayOutputStream;
import java.io.PrintStream;

import com.attilax.io.StreamUtil;
import com.attilax.json.AtiJson;

public class tt {

	public static void main(String[] args) {
		
	  
	    
	    int n=3*5/6+1;
	
	      
	       t("ttt");

	}

	private static void t(String p1) {
		
		Throwable ex = new Throwable();
		System.out.println(AtiJson.toJson(ex));
		
		System.out.println(AtiJson.toJson(Thread.currentThread()));

	//	StackTraceElement[] stackElements = ex.getStackTrace();
		System.out.println(p1);
//		StreamUtil sx = new StreamUtil();
//		sx.RedirectToStrOut();
//		System.out.println("--wanning....for debug out stacktrace");
//     
//		String s=sx.getStr();
//    
//		
//		//restore std out
//		sx.restoreStdOut();
//     
		
		System.out.println("aa"+p1);
	}

}
